package com.xhsj.user.pms.patent.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @description 缴费通知单表 - tb_pam_bill
 * @author 苏小林
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_pam_bill")
public class Bill extends Model<Bill> {
    /**
     * 缴费通知主键ID
     */
    @TableId("bill_inform_id")
    private String billInformId;

    /**
     * 关联交底书主键ID
     */
    @TableField("bill_for_disclosure")
    private String billForDisclosure;

    /**
     * 创建用户ID
     */
    @TableField("created_user")
    private Long createdUser;

    /**
     * 缴费日期
     */
    @TableField("enew_time")
    private Date enewTime;

    /**
     * 续费时间
     */
    @TableField("expire_time")
    private Date expireTime;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 缴费金额
     */
    @TableField("bill_amount")
    private BillFile billFile;

    /**
     * 0:申请费 1:年费  2:其他
     */
    @TableField("bill_type")
    private int  billType;

    @TableField(exist = false)
    private String billAmount;

    private static final long serialVersionUID = 1L;

}